<?xml version="1.0" encoding="UTF-8"?>
<!-- 
 Copyright (C) 2014 - Open Source Geospatial Foundation. All rights reserved.
 This code is licensed under the GPL 2.0 license, available at the root
 application directory.
 -->
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">

<beans>
  <description>
   Bean configuration file for the gwc-aws-s3 module
  </description>
  
  <bean id="S3BlobStoreConfigProvider" class="org.geowebcache.s3.S3BlobStoreConfigProvider" depends-on="gwcSynchEnv">
    <description>
      Contributes XStream configuration settings to org.geowebcache.config.XMLConfiguration to encode S3BlobStoreInfo instances
    </description>
  </bean>

  <bean class="org.geoserver.gwc.web.blob.S3BlobStoreType" />
  <bean id="GWC-S3Extension" class="org.geoserver.platform.ModuleStatusImpl">
    <property name="module" value="gs-gwc-s3" />
    <property name="name" value="GeoWebCache S3 Extension"/>
    <property name="component" value="GeoWebCache S3 support plugin"/>
    <property name="available" value="true"/>
    <property name="enabled" value="true"/>
  </bean>
</beans>
